<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>积分管理</title>
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, width=device-width">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-touch-fullscreen" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="format-detection" content="telephone=no">
		<meta name="format-detection" content="address=no">
		<link rel="stylesheet" type="text/css" href="css/common.css">
		<link rel="stylesheet" type="text/css" href="css/index.css">
		<link rel="stylesheet" type="text/css" href="css/mui.min.css"/>
		<link rel="stylesheet" href="css/reset.css">
		<script type="text/javascript" src="js/jquery.min.js"></script>
		<script type="text/javascript" src="js/iscroll.js"></script>
		<script type="text/javascript" src="js/jquery.flexslider-min.js"></script>
		<script src="js/hmt.js" type="text/javascript"></script>
		<script type="text/javascript" src="js/index.js"></script>
		<script src="js/swiper.min.js" type="text/javascript" ></script>
		
		
		<script type="text/javascript" src="http://yanyubao.tseo.cn/Tpl/static/jquery.tmpl.js"></script>
		<script type="text/javascript" src="js/abot.js"></script>
		<script type="text/javascript" src="http://yanyubao.tseo.cn/api/shopapp.js"></script>
		<script type="text/javascript" src="js/abot.function.js"></script>
		
	</head>
	<body>
		<!--header star-->
		<header class="hasManyCity hasManyCitytwo" id="header">
			<a href="javascript:history.go(-1)" class="fl fanhui"><i class="iconfont icon-fanhui"></i></a>
			<div class="header-tit">
				积分管理
			</div>		
		</header>
	    <!--header end-->
	    <div id="container">		
			<div id="main">
			    <div class="warp warpthree clearfloat">
			    	<div class="account clearfloat">
			    		<div class="top clearfloat">
			    			<ul>
			    				<li class="box-s">操作时间</li>
			    				<li>进出账</li>
			    				<li>积分</li>
			    			</ul>
			    		</div>
			    		<div class="list clearfloat box-s">
			    			 <script id="price_item" type="text/x-jquery-tmpl"> 
			    			<div class="shang clearfloat">
			    				<ul>
				    				<li class="box-s">2016-07-23</li>
				    				<li>收入</li>
				    				<li>+300</li>
				    			</ul>
			    			</div>
							 </script>
			    			<!-- <div class="bottom clearfloat">
			    				<span class="fl">2016-07-10 13:29:47</span>
			    				<p class="fr">剩余积分：7400</p>
			    			</div> -->
			    		</div>	    		
			    	</div>
			    </div>
			</div>
		</div>
	
	</body>
	<script type="text/javascript" src="js/jquery-1.8.3.min.js" ></script>
	<script src="js/mui.min.js"></script>
	<script src="js/others.js"></script>
	<script type="text/javascript" src="js/hmt.js" ></script>
	<script src="slick/slick.js" type="text/javascript" ></script>
	<!--插件-->
	<link rel="stylesheet" href="css/swiper.min.css">
	<script src="js/swiper.jquery.min.js"></script>
	
	<script type="text/javascript">
	
	function price_list_callback(res){
		
		if(res.code == 1){
			$("#price_item").tmpl(res.data).appendTo("#main");
		}else{
			alert(res.msg)
		}
		
		
	}
	
		$(function(){
			
			var loginItem = get_login_info();
			console.log(loginItem)
			var userid = loginItem.userid;
			
			
			var checkstr = loginItem.checkstr;
			
			var function_name = "user_score_log";
			
			var request_data = {'userid':userid,'checkstr':checkstr};
			
			 ajax_request_server(function_name,request_data, price_list_callback);
				
		})
	</script>
</html>

